home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 1 / Amiga Tools.iso / egs-tools / egs_dev-disk / egsdocs / egsintuigfx.doc < prev    next >
Encoding:
Text File  |  1994-06-06  |  12.8 KB  |  1,299 lines

  1. TABLE OF CONTENTS
  2.  
  3. egsintuigfx/IG_ADD
  4. egsintuigfx/IG_ADDI
  5. egsintuigfx/IG_ADR
  6. egsintuigfx/IG_Back
  7. egsintuigfx/IG_Box
  8. egsintuigfx/IG_BYTE
  9. egsintuigfx/IG_CALL
  10. egsintuigfx/IG_CBack
  11. egsintuigfx/IG_CDark
  12. egsintuigfx/IG_CLight
  13. egsintuigfx/IG_CNormal
  14. egsintuigfx/IG_Color
  15. egsintuigfx/IG_Const
  16. egsintuigfx/IG_Const24
  17. egsintuigfx/IG_CSelect
  18. egsintuigfx/IG_CTxtBack
  19. egsintuigfx/IG_CTxtFront
  20. egsintuigfx/IG_Debug
  21. egsintuigfx/IG_Do
  22. egsintuigfx/IG_Draw
  23. egsintuigfx/IG_DrawAbs
  24. egsintuigfx/IG_DUP
  25. egsintuigfx/IG_DUPI
  26. egsintuigfx/IG_DUPN
  27. egsintuigfx/IG_Else
  28. egsintuigfx/IG_End
  29. egsintuigfx/IG_Font
  30. egsintuigfx/IG_FRAME
  31. egsintuigfx/IG_GET1
  32. egsintuigfx/IG_GET2
  33. egsintuigfx/IG_GetBack
  34. egsintuigfx/IG_GetColor
  35. egsintuigfx/IG_GETF
  36. egsintuigfx/IG_GETFI
  37. egsintuigfx/IG_GETN
  38. egsintuigfx/IG_GetPosX
  39. egsintuigfx/IG_GetPosY
  40. egsintuigfx/IG_GETSI
  41. egsintuigfx/IG_IDIV
  42. egsintuigfx/IG_If
  43. egsintuigfx/IG_Image
  44. egsintuigfx/IG_IMOD
  45. egsintuigfx/IG_JMP
  46. egsintuigfx/IG_JSR
  47. egsintuigfx/IG_Locate
  48. egsintuigfx/IG_Locate00
  49. egsintuigfx/IG_ModeA
  50. egsintuigfx/IG_ModeAB
  51. egsintuigfx/IG_ModeInvers
  52. egsintuigfx/IG_Move
  53. egsintuigfx/IG_MUL
  54. egsintuigfx/IG_NEG
  55. egsintuigfx/IG_Packed
  56. egsintuigfx/IG_POKE
  57. egsintuigfx/IG_POKEB
  58. egsintuigfx/IG_POKEW
  59. egsintuigfx/IG_POP
  60. egsintuigfx/IG_POPI
  61. egsintuigfx/IG_POPN
  62. egsintuigfx/IG_PUTF
  63. egsintuigfx/IG_PUTFI
  64. egsintuigfx/IG_Repeat
  65. egsintuigfx/IG_ROT3
  66. egsintuigfx/IG_ROTN
  67. egsintuigfx/IG_RTF
  68. egsintuigfx/IG_RTS
  69. egsintuigfx/IG_SAND
  70. egsintuigfx/IG_SEQ
  71. egsintuigfx/IG_SGE
  72. egsintuigfx/IG_SGT
  73. egsintuigfx/IG_SLE
  74. egsintuigfx/IG_SLT
  75. egsintuigfx/IG_SNE
  76. egsintuigfx/IG_SNOT
  77. egsintuigfx/IG_SOR
  78. egsintuigfx/IG_STKADR
  79. egsintuigfx/IG_SUB
  80. egsintuigfx/IG_SWAP
  81. egsintuigfx/IG_Text
  82. egsintuigfx/IG_Until
  83. egsintuigfx/IG_VAL
  84. egsintuigfx/IG_While
  85. egsintuigfx/IG_Write
  86.  
  87.  
  88.  
  89. egsintuigfx/IG_ADD
  90. NAME
  91.   IG_ADD
  92.  
  93. INPUT
  94.   STACK value1
  95.   STACK value2
  96.  
  97. FUNCTION
  98.   Adds value2 to value1 and returns the result on the stack.
  99.  
  100. RETURNS
  101.   STACK value1+value2
  102.  
  103.  
  104.  
  105. egsintuigfx/IG_ADDI
  106. NAME
  107.   IG_ADDI
  108.  
  109. INPUT
  110.   STACK value1
  111.   IMM   value2
  112.  
  113. FUNCTION
  114.   Adds value2 to value1 and returns the result on the stack.
  115.  
  116. RETURNS
  117.   STACK value1+value2
  118.  
  119.  
  120.  
  121. egsintuigfx/IG_ADR
  122. NAME
  123.   IG_ADR
  124.  
  125. INPUT
  126.   STACK pos
  127.  
  128. FUNCTION
  129.   Reads a long word from memory addres pos and returns it on the stack
  130.  
  131. RETURNS
  132.   STACK *(ULONG*)pos
  133.  
  134.  
  135. egsintuigfx/IG_Back
  136. NAME
  137.   IG_Back
  138.  
  139. INPUT
  140.   STACK color
  141.  
  142. FUNCTION
  143.   Sets the current backgroundcolor
  144.  
  145. RETURNS
  146.  
  147.  
  148.  
  149. egsintuigfx/IG_Box
  150. NAME
  151.   IG_Box
  152.  
  153. INPUT
  154.   STACK width
  155.   STACK height
  156.  
  157. FUNCTION
  158.   Draws a filled rectangle with width and height.
  159.  
  160. RETURNS
  161.  
  162.  
  163.  
  164. egsintuigfx/IG_BYTE
  165. NAME
  166.   IG_BYTE
  167.  
  168. INPUT
  169.   STACK pos
  170.  
  171. FUNCTION
  172.   Reads a byte from memory addres pos and returns it on the stack
  173.  
  174. RETURNS
  175.   STACK *(UBYTE*)pos
  176.  
  177.  
  178. egsintuigfx/IG_CALL
  179. NAME
  180.   IG_CALL
  181.  
  182. INPUT
  183.  
  184. FUNCTION
  185.  
  186. RETURNS
  187.  
  188.  
  189.  
  190. egsintuigfx/IG_CBack
  191. NAME
  192.   IG_CBack
  193.  
  194. INPUT
  195.  
  196. FUNCTION
  197.   Gets the windows background color.
  198.  
  199. RETURNS
  200.   STACK wincolors.back
  201.  
  202.  
  203.  
  204. egsintuigfx/IG_CDark
  205. NAME
  206.   IG_CDark
  207.  
  208. INPUT
  209.  
  210. FUNCTION
  211.   Gets the windows dark color.
  212.  
  213. RETURNS
  214.   STACK wincolors.dark
  215.  
  216.  
  217.  
  218. egsintuigfx/IG_CLight
  219. NAME
  220.   IG_CLight
  221.  
  222. INPUT
  223.  
  224. FUNCTION
  225.   Gets the windows light color.
  226.  
  227. RETURNS
  228.   STACK wincolors.light
  229.  
  230.  
  231.  
  232. egsintuigfx/IG_CNormal
  233. NAME
  234.   IG_CNormal
  235.  
  236. INPUT
  237.  
  238. FUNCTION
  239.   Gets the windows normal color.
  240.  
  241. RETURNS
  242.   STACK wincolors.normal
  243.  
  244.  
  245.  
  246. egsintuigfx/IG_Color
  247. NAME
  248.   IG_Color
  249.  
  250. INPUT
  251.   STACK color
  252.  
  253. FUNCTION
  254.   Sets the currend foreground color.
  255.  
  256. RETURNS
  257.  
  258.  
  259.  
  260. egsintuigfx/IG_Const
  261. NAME
  262.   IG_Const
  263.  
  264. INPUT
  265.   IMM   value
  266.  
  267. FUNCTION
  268.   Puts a sign extended value on the stack.
  269.  
  270. RETURNS
  271.   STACK (LONG) value
  272.  
  273.  
  274.  
  275. egsintuigfx/IG_Const24
  276. NAME
  277.   IG_Const24
  278.  
  279. INPUT
  280.   IMM   value
  281.  
  282. FUNCTION
  283.   Puts a 24Bit constant 8 bis left shifted on the stack.
  284.  
  285. RETURNS
  286.   STACK value<<8
  287.  
  288.  
  289. egsintuigfx/IG_CSelect
  290. NAME
  291.   IG_CSelect
  292.  
  293. INPUT
  294.  
  295. FUNCTION
  296.   Gets the windows select color.
  297.  
  298. RETURNS
  299.   STACK wincolors.select
  300.  
  301.  
  302.  
  303. egsintuigfx/IG_CTxtBack
  304. NAME
  305.   IG_CTxtBack
  306.  
  307. INPUT
  308.  
  309. FUNCTION
  310.   Gets the windows text background color
  311.  
  312. RETURNS
  313.   STACK wincolors.txtBack
  314.  
  315.  
  316. egsintuigfx/IG_CTxtFront
  317. NAME
  318.   IG_CTxtFront
  319.  
  320. INPUT
  321.  
  322. FUNCTION
  323.   Gets the windows text foreground color
  324.  
  325. RETURNS
  326.   STACK wincolors.txtFront
  327.  
  328.  
  329.  
  330. egsintuigfx/IG_Debug
  331. NAME
  332.   IG_Debug
  333.  
  334. INPUT
  335.  
  336. FUNCTION
  337.  
  338. RETURNS
  339.  
  340.  
  341.  
  342. egsintuigfx/IG_Do
  343. NAME
  344.   IG_Do
  345.  
  346. INPUT
  347.  
  348. FUNCTION
  349.   See IG_While
  350.  
  351. RETURNS
  352.  
  353.  
  354.  
  355. egsintuigfx/IG_Draw
  356. NAME
  357.   IG_Draw
  358.  
  359. INPUT
  360.   STACK dx
  361.   STACK dy
  362.  
  363. FUNCTION
  364.   Draws a line from the current position by dx, dy
  365.  
  366. RETURNS
  367.  
  368.  
  369.  
  370. egsintuigfx/IG_DrawAbs
  371. NAME
  372.   IG_DrawAbs
  373.  
  374. INPUT
  375.   STACK x
  376.   STACK y
  377.  
  378. FUNCTION
  379.   Draws a line fromt the current position to x, y.
  380.  
  381. RETURNS
  382.  
  383.  
  384.  
  385. egsintuigfx/IG_DUP
  386. NAME
  387.   IG_DUP
  388.  
  389. INPUT
  390.   STACK value
  391.  
  392. FUNCTION
  393.   Puts a copy of value on the stack.
  394.  
  395. RETURNS
  396.   STACK value, value
  397.  
  398.  
  399. egsintuigfx/IG_DUPI
  400. NAME
  401.   IG_DUPI
  402.  
  403. INPUT
  404.   STACK value[1..n]
  405.   IMM   n
  406.  
  407. FUNCTION
  408.   Duplicates n values on the stack.
  409.  
  410. RETURNS
  411.   STACK value[1..n], value[1..n]
  412.  
  413.  
  414. egsintuigfx/IG_DUPN
  415. NAME
  416.   IG_DUPN
  417.  
  418. INPUT
  419.   STACK value[1..n]
  420.   STACK n
  421.  
  422. FUNCTION
  423.   Duplicates n values on the stack.
  424.  
  425. RETURNS
  426.   STACK value[1..n], value[1..n]
  427.  
  428.  
  429.  
  430. egsintuigfx/IG_Else
  431. NAME
  432.   IG_Else
  433.  
  434. INPUT
  435.  
  436. FUNCTION
  437.   See IG_If
  438.  
  439. RETURNS
  440.  
  441.  
  442.  
  443. egsintuigfx/IG_End
  444. NAME
  445.   IG_End
  446.  
  447. INPUT
  448.  
  449. FUNCTION
  450.   See IG_While, IG_If
  451.  
  452. RETURNS
  453.  
  454.  
  455.  
  456. egsintuigfx/IG_Font
  457. NAME
  458.   IG_Font
  459.  
  460. INPUT
  461.   STACK font
  462.  
  463. FUNCTION
  464.   Sets the current font
  465.  
  466. RETURNS
  467.  
  468.  
  469.  
  470. egsintuigfx/IG_FRAME
  471. NAME
  472.   IG_FRAME
  473.  
  474. INPUT
  475.   IMM   size
  476.  
  477. FUNCTION
  478.   Makes space vor size value on the frame.
  479.  
  480. RETURNS
  481.  
  482.  
  483.  
  484. egsintuigfx/IG_GET1
  485. NAME
  486.   IG_GET1
  487.  
  488. INPUT
  489.  
  490. FUNCTION
  491.    Gets second value from stack top
  492.  
  493. RETURNS
  494.   STACK TOF(1)
  495.  
  496.  
  497.  
  498. egsintuigfx/IG_GET2
  499. NAME
  500.   IG_GET2
  501.  
  502. INPUT
  503.  
  504. FUNCTION
  505.   Gets third value from stack top
  506.  
  507. RETURNS
  508.   STACK TOF(2)
  509.  
  510.  
  511.  
  512. egsintuigfx/IG_GetBack
  513. NAME
  514.   IG_GetBack
  515.  
  516. INPUT
  517.  
  518. FUNCTION
  519.   Gets current background color
  520.  
  521. RETURNS
  522.   STACK bPen
  523.  
  524.  
  525. egsintuigfx/IG_GetColor
  526. NAME
  527.   IG_GetColor
  528.  
  529. INPUT
  530.  
  531. FUNCTION
  532.   Gets current foreground color
  533.  
  534. RETURNS
  535.   STACK aPen
  536.  
  537.  
  538.  
  539. egsintuigfx/IG_GETF
  540. NAME
  541.   IG_GETF
  542.  
  543. INPUT
  544.   STACK n
  545.  
  546. FUNCTION
  547.   Gets n'th element from frame
  548.  
  549. RETURNS
  550.   STACK FRAME(n)
  551.  
  552.  
  553.  
  554. egsintuigfx/IG_GETFI
  555. NAME
  556.   IG_GETFI
  557.  
  558. INPUT
  559.   IMM   n
  560.  
  561. FUNCTION
  562.   Gets n'th element from frame
  563.  
  564. RETURNS
  565.   STACK FRAME(n)
  566.  
  567.  
  568.  
  569. egsintuigfx/IG_GETN
  570. NAME
  571.   IG_GETN
  572.  
  573. INPUT
  574.   STACK n
  575.  
  576. FUNCTION
  577.   Gets n'th element from stack top
  578.  
  579. RETURNS
  580.   STACK TOF(n)
  581.  
  582.  
  583.  
  584. egsintuigfx/IG_GetPosX
  585. NAME
  586.   IG_GetPosX
  587.  
  588. INPUT
  589.  
  590. FUNCTION
  591.   Gets current x position of graphic cursor
  592.  
  593. RETURNS
  594.   STACK cx
  595.  
  596.  
  597.  
  598. egsintuigfx/IG_GetPosY
  599. NAME
  600.   IG_GetPosY
  601.  
  602. INPUT
  603.  
  604. FUNCTION
  605.   Gets current y position of graphic cursor
  606.  
  607. RETURNS
  608.   STACK cy
  609.  
  610.  
  611.  
  612. egsintuigfx/IG_GETSI
  613. NAME
  614.   IG_GETSI
  615.  
  616. INPUT
  617.   IMM   n
  618.  
  619. FUNCTION
  620.   Gets n'th element from stack top
  621.  
  622. RETURNS
  623.   STACK TOF(n)
  624.  
  625.  
  626.  
  627. egsintuigfx/IG_IDIV
  628. NAME
  629.   IG_IDIV
  630.  
  631. INPUT
  632.   STACK value1
  633.   IMM   value2
  634.  
  635. FUNCTION
  636.   Divides value1 by value2
  637.  
  638. RETURNS
  639.   STACK value1/value2
  640.  
  641.  
  642.  
  643. egsintuigfx/IG_If
  644. NAME
  645.   IG_If
  646.  
  647. STRUCTURE
  648.   IG_If condition IG_Then statement1 [IG_Else statement2] IG_End
  649.  
  650. FUNCTION
  651.   Evaluates condition, if TOF is not zero executes statement1 else
  652.   statement2.
  653.  
  654. RETURNS
  655.  
  656.  
  657.  
  658. egsintuigfx/IG_Image
  659. NAME
  660.   IG_Image
  661.  
  662. INPUT
  663.   STACK image
  664.  
  665. FUNCTION
  666.   Copies an image to the current cursor position. The image is a pointer
  667.   to an E_EBitMap, the dimensions are the bitmaps dimensions.
  668.  
  669. RETURNS
  670.  
  671.  
  672.  
  673. egsintuigfx/IG_IMOD
  674. NAME
  675.   IG_IMOD
  676.  
  677. INPUT
  678.   STACK value1
  679.   IMM   value2
  680.  
  681. FUNCTION
  682.   Returns the remainder of value1 divided by value2
  683.  
  684. RETURNS
  685.   STACK value1 MOD value2
  686.  
  687.  
  688.  
  689. egsintuigfx/IG_JMP
  690. NAME
  691.   IG_JMP
  692.  
  693. INPUT
  694.   STACK adr
  695.  
  696. FUNCTION
  697.   Jumps to an IntuiGfx programm at address adr
  698.  
  699. RETURNS
  700.  
  701.  
  702.  
  703. egsintuigfx/IG_JSR
  704. NAME
  705.   IG_JSR
  706.  
  707. INPUT
  708.   STACK adr
  709.  
  710. FUNCTION
  711.   Jumps to an IntuiGfx programm at address adr and saves return address.
  712.  
  713. RETURNS
  714.  
  715.  
  716.  
  717. egsintuigfx/IG_Locate
  718. NAME
  719.   IG_Locate
  720.  
  721. INPUT
  722.   STACK x
  723.   STACK y
  724.  
  725. FUNCTION
  726.   Sets the graphic cursor to x, y.
  727.  
  728. RETURNS
  729.  
  730.  
  731.  
  732. egsintuigfx/IG_Locate00
  733. NAME
  734.   IG_Locate00
  735.  
  736. INPUT
  737.  
  738. FUNCTION
  739.   Sets the graphic cursor to 0, 0.
  740.  
  741. RETURNS
  742.  
  743.  
  744.  
  745. egsintuigfx/IG_ModeA
  746. NAME
  747.   IG_ModeA
  748.  
  749. INPUT
  750.  
  751. FUNCTION
  752.   Sets drawmode drawAPen
  753.  
  754. RETURNS
  755.  
  756.  
  757.  
  758. egsintuigfx/IG_ModeAB
  759. NAME
  760.   IG_ModeAB
  761.  
  762. INPUT
  763.  
  764. FUNCTION
  765.   Sets drawmode drawABPen
  766.  
  767. RETURNS
  768.  
  769.  
  770.  
  771. egsintuigfx/IG_ModeInvers
  772. NAME
  773.   IG_ModeInvers
  774.  
  775. INPUT
  776.  
  777. FUNCTION
  778.   Sets drawmode drawInvers
  779.  
  780. RETURNS
  781.  
  782.  
  783.  
  784. egsintuigfx/IG_Move
  785. NAME
  786.   IG_Move
  787.  
  788. INPUT
  789.   STACK dx
  790.   STACK dy
  791.  
  792. FUNCTION
  793.   Moves the graphic cursor by dx, dy
  794.  
  795. RETURNS
  796.  
  797.  
  798.  
  799. egsintuigfx/IG_MUL
  800. NAME
  801.   IG_MUL
  802.  
  803. INPUT
  804.   STACK value1
  805.   STACK value2
  806.  
  807. FUNCTION
  808.   Multiplies value1 by value2 and returns the result
  809.  
  810. RETURNS
  811.   STACK value1*value2
  812.  
  813.  
  814.  
  815. egsintuigfx/IG_NEG
  816. NAME
  817.   IG_NEG
  818.  
  819. INPUT
  820.   STACK value
  821.  
  822. FUNCTION
  823.   Negates value and returns the result
  824.  
  825. RETURNS
  826.   STACK -value
  827.  
  828.  
  829.  
  830. egsintuigfx/IG_Packed
  831. NAME
  832.   IG_Packed
  833.  
  834. INPUT
  835.   STACK colors
  836.   STACK image
  837.  
  838. FUNCTION
  839.   Unpacks an image from bitplane form to bitmap and copies it to the current
  840.   cursor location
  841.  
  842. RETURNS
  843.  
  844.  
  845.  
  846. egsintuigfx/IG_POKE
  847. NAME
  848.   IG_POKE
  849.  
  850. INPUT
  851.   STACK value
  852.   STACK adr
  853.  
  854. FUNCTION
  855.   Writes longword value to memory address adr. *(ULONG*)adr=value
  856.  
  857. RETURNS
  858.  
  859.  
  860.  
  861. egsintuigfx/IG_POKEB
  862. NAME
  863.   IG_POKEB
  864.  
  865. INPUT
  866.   STACK value
  867.   STACK adr
  868.  
  869. FUNCTION
  870.   Writes byte value to memory address adr. *(UBYTE*)adr=value
  871.  
  872. RETURNS
  873.  
  874.  
  875.  
  876. egsintuigfx/IG_POKEW
  877. NAME
  878.   IG_POKEW
  879.  
  880. INPUT
  881.   STACK value
  882.   STACK adr
  883.  
  884. FUNCTION
  885.   Writes word value to memory address adr. *(UWORD*)adr=value
  886.  
  887. RETURNS
  888.  
  889.  
  890.  
  891. egsintuigfx/IG_POP
  892. NAME
  893.   IG_POP
  894.  
  895. INPUT
  896.   STACK dummy
  897.  
  898. FUNCTION
  899.   Removes the topmost element from the stack
  900.  
  901. RETURNS
  902.  
  903.  
  904.  
  905. egsintuigfx/IG_POPI
  906. NAME
  907.   IG_POPI
  908.  
  909. INPUT
  910.   STACK [1..n]
  911.   IMM   n
  912.  
  913. FUNCTION
  914.   Removes n elements from the stack
  915.  
  916. RETURNS
  917.  
  918.  
  919.  
  920. egsintuigfx/IG_POPN
  921. NAME
  922.   IG_POPN
  923.  
  924. INPUT
  925.   STACK [1..n]
  926.   STACk n
  927.  
  928. FUNCTION
  929.   Removes n elements from the stack
  930.  
  931. RETURNS
  932.  
  933.  
  934.  
  935. egsintuigfx/IG_PUTF
  936. NAME
  937.   IG_PUTF
  938.  
  939. INPUT
  940.   STACK value
  941.   STACK pos
  942.  
  943. FUNCTION
  944.   Moves value into frame at position pos
  945.  
  946. RETURNS
  947.  
  948.  
  949.  
  950. egsintuigfx/IG_PUTFI
  951. NAME
  952.   IG_PUTFI
  953.  
  954. INPUT
  955.   STACK value
  956.   IMM   pos
  957.  
  958. FUNCTION
  959.   Moves value into frame at position pos
  960.  
  961. RETURNS
  962.  
  963.  
  964.  
  965. egsintuigfx/IG_Repeat
  966. NAME
  967.   IG_Repeat
  968.  
  969. STRUCTURE
  970.    IG_Repeat statement condition IG_Until
  971.  
  972. FUNCTION
  973.    Executes statement until condition leaves a non zero value on the stack
  974.  
  975. RETURNS
  976.  
  977.  
  978.  
  979. egsintuigfx/IG_ROT3
  980. NAME
  981.   IG_ROT3
  982.  
  983. INPUT
  984.    STACK value1
  985.    STACK value2
  986.    STACK value3
  987.  
  988. FUNCTION
  989.    Rotates the three topmost elements on the stack
  990.  
  991. RETURNS
  992.    STACK value3
  993.    STACK value1
  994.    STACK value2
  995.  
  996.  
  997.  
  998. egsintuigfx/IG_ROTN
  999. NAME
  1000.   IG_ROTN
  1001.  
  1002. INPUT
  1003.   STACK value[1..n]
  1004.   STACK n
  1005.  
  1006. FUNCTION
  1007.   Rotates the n top elements of the stack
  1008.  
  1009. RETURNS
  1010.   STACK value[n]
  1011.   STACK value[1..n-1]
  1012.  
  1013.  
  1014.  
  1015. egsintuigfx/IG_RTF
  1016. NAME
  1017.   IG_RTF
  1018.  
  1019. INPUT
  1020.   IMM   size
  1021.  
  1022. FUNCTION
  1023.   Deletes the frame, removes size parameters from stack, and returns to
  1024.   calling routine
  1025.  
  1026. RETURNS
  1027.  
  1028.  
  1029.  
  1030. egsintuigfx/IG_RTS
  1031. NAME
  1032.   IG_RTS
  1033.  
  1034. INPUT
  1035.  
  1036. FUNCTION
  1037.   Returns to calling routine
  1038.  
  1039. RETURNS
  1040.  
  1041.  
  1042.  
  1043. egsintuigfx/IG_SAND
  1044. NAME
  1045.   IG_SAND
  1046.  
  1047. INPUT
  1048.   STACK bool1
  1049.   STACK bool2
  1050.  
  1051. FUNCTION
  1052.   Returns true (not zero) if bool1 and bool2 are true.
  1053.  
  1054. RETURNS
  1055.   STACK bool1 & bool2
  1056.  
  1057.  
  1058.  
  1059. egsintuigfx/IG_SEQ
  1060. NAME
  1061.   IG_SEQ
  1062.  
  1063. INPUT
  1064.   STACK value
  1065.  
  1066. FUNCTION
  1067.   Returns true, if value2 equates value1
  1068.  
  1069. RETURNS
  1070.   STACK value1=value2
  1071.  
  1072.  
  1073.  
  1074. egsintuigfx/IG_SGE
  1075. NAME
  1076.   IG_SGE
  1077.  
  1078. INPUT
  1079.   STACK value1
  1080.   STACK value2
  1081.  
  1082. FUNCTION
  1083.   Returns true, if value2 is greater or equal value1
  1084.  
  1085. RETURNS
  1086.   STACK value2>=value1
  1087.  
  1088.  
  1089.  
  1090. egsintuigfx/IG_SGT
  1091. NAME
  1092.   IG_SGT
  1093.  
  1094. INPUT
  1095.   STACK value1
  1096.   STACK value2
  1097.  
  1098. FUNCTION
  1099.   Returns true, if value2 is greater than value1
  1100.  
  1101. RETURNS
  1102.   STACK value2>value1
  1103.  
  1104.  
  1105.  
  1106. egsintuigfx/IG_SLE
  1107. NAME
  1108.   IG_SLE
  1109.  
  1110. INPUT
  1111.   STACK value1
  1112.   STACK value2
  1113.  
  1114. FUNCTION
  1115.   Returns true, if value2 is less or equal value1
  1116.  
  1117. RETURNS
  1118.   STACK value2<=value1
  1119.  
  1120.  
  1121.  
  1122. egsintuigfx/IG_SLT
  1123. NAME
  1124.   IG_SLT
  1125.  
  1126. INPUT
  1127.   STACK value1
  1128.   STACK value2
  1129.  
  1130. FUNCTION
  1131.   Returns true, if value2 is less than value1
  1132.  
  1133. RETURNS
  1134.   STACK value2<value1
  1135.  
  1136.  
  1137.  
  1138. egsintuigfx/IG_SNE
  1139. NAME
  1140.   IG_SNE
  1141.  
  1142. INPUT
  1143.   STACK value1
  1144.   STACK value2
  1145.  
  1146. FUNCTION
  1147.   Returns true if value2 is not equal value1
  1148.  
  1149. RETURNS
  1150.   STACK value2!=value1
  1151.  
  1152.  
  1153.  
  1154. egsintuigfx/IG_SNOT
  1155. NAME
  1156.   IG_SNOT
  1157.  
  1158. INPUT
  1159.   STACK value
  1160.  
  1161. FUNCTION
  1162.   Returns true if value is false
  1163.  
  1164. RETURNS
  1165.   STACK value=0
  1166.  
  1167.  
  1168.  
  1169. egsintuigfx/IG_SOR
  1170. NAME
  1171.   IG_SOR
  1172.  
  1173. INPUT
  1174.   STACK value1
  1175.   STACK value2
  1176.  
  1177. FUNCTION
  1178.   Returns true if value1 or value2 is true
  1179.  
  1180. RETURNS
  1181.   STACK value1|value2
  1182.  
  1183.  
  1184.  
  1185. egsintuigfx/IG_STKADR
  1186. NAME
  1187.   IG_STKADR
  1188.  
  1189. INPUT
  1190.  
  1191. FUNCTION
  1192.   Returns the address of the stack top
  1193.  
  1194. RETURNS
  1195.   STACK &TOF
  1196.  
  1197.  
  1198.  
  1199. egsintuigfx/IG_SUB
  1200. NAME
  1201.   IG_SUB
  1202.  
  1203. INPUT
  1204.   STACK value1
  1205.   STACK value2
  1206.  
  1207. FUNCTION
  1208.   Subtracts value2 from value1 and returns the result
  1209.  
  1210. RETURNS
  1211.    STACK value1-value2
  1212.  
  1213.  
  1214.  
  1215. egsintuigfx/IG_SWAP
  1216. NAME
  1217.   IG_SWAP
  1218.  
  1219. INPUT
  1220.   STACK value1
  1221.   STACK value2
  1222.  
  1223. FUNCTION
  1224.   Swaps value1 and value2
  1225.  
  1226. RETURNS
  1227.   STACK value2, value1
  1228.  
  1229.  
  1230.  
  1231. egsintuigfx/IG_Text
  1232. NAME
  1233.   IG_Text
  1234.  
  1235. INPUT
  1236.   STACK text
  1237.  
  1238. FUNCTION
  1239.   Writes a text into the rastport, text points to first char, the string has
  1240.   to be 0 terminated
  1241.  
  1242. RETURNS
  1243.  
  1244.  
  1245.  
  1246. egsintuigfx/IG_Until
  1247. NAME
  1248.   IG_Until
  1249.  
  1250. INPUT
  1251.  
  1252. FUNCTION
  1253.   See IG_Repeat
  1254.  
  1255. RETURNS
  1256.  
  1257.  
  1258.  
  1259. egsintuigfx/IG_VAL
  1260. NAME
  1261.   IG_VAL
  1262.  
  1263. INPUT
  1264.   STACK pos
  1265.  
  1266. FUNCTION
  1267.   Reads a word from memory addres pos and returns it on the stack
  1268.  
  1269. RETURNS
  1270.   STACK *(UWORD*)pos
  1271.  
  1272.  
  1273.  
  1274. egsintuigfx/IG_While
  1275. NAME
  1276.   IG_While
  1277.  
  1278. STRUCTURE
  1279.   IG_While condition IG_Do statement IG_End
  1280.  
  1281. FUNCTION
  1282.   Executes condition, as long as condition returns true on the stack
  1283.   statement and condition is executed.
  1284.  
  1285. RETURNS
  1286.  
  1287.  
  1288.  
  1289. egsintuigfx/IG_Write
  1290. NAME
  1291.   IG_Write
  1292.  
  1293. INPUT
  1294.  
  1295. FUNCTION
  1296.  
  1297. RETURNS
  1298.  
  1299.